package com.iotboss.system.service.impl;

import com.iotboss.common.core.domain.iot.IotDeptCompany;
import com.iotboss.system.mapper.IotDeptCompanyMapper;
import com.iotboss.system.service.IotDeptCompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IotDeptCompanyServiceImpl implements IotDeptCompanyService {
    @Autowired
    IotDeptCompanyMapper companyMapper;

    @Override
    public int insertCompany(IotDeptCompany company) {
       int row= this.companyMapper.insertCompany(company);
        return row;
    }

}
